package com.sgb.member.entity;

import java.io.Serializable;
import java.util.List;

public class MemberRelieveBean implements Serializable {

    private String detail;//审批详情说明
    private String applyCompanyName;//申请企业名称
    private String applyCompanyNo;//申请企业no
    private String approveType;//审批类型 1 申请加盟(固定传1就行)
    private String applyDeptName;//申请部门名称
    private String applyDeptNo;//申请部门no
    private String applyUserName;//申请人名称
    private String applyUserNo;//申请人no
    private String no;//no 传入申请加盟和邀请加盟列表no
    private String reason;//说明(审批原因，拒绝说明等)
    private String relieveCompanyNo;//解除企业no
    private String relieveCompanyName;//解除企业名称
    private String relieveUserNo;//解除个人no
    private String relieveUserName;//解除个人名称
    private String approveStatus;
    private List<ParamDtos> paramDtos;
    private String relieveType;
    private String relieveBusinessName;
    private String relieveBusinessNo;
    private String relation;

    public String getRelieveBusinessName() {
        return relieveBusinessName;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }

    public void setRelieveBusinessName(String relieveBusinessName) {
        this.relieveBusinessName = relieveBusinessName;
    }

    public String getRelieveBusinessNo() {
        return relieveBusinessNo;
    }

    public void setRelieveBusinessNo(String relieveBusinessNo) {
        this.relieveBusinessNo = relieveBusinessNo;
    }

    public String getRelieveType() {
        return relieveType;
    }

    public void setRelieveType(String relieveType) {
        this.relieveType = relieveType;
    }

    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }

    public List<ParamDtos> getParamDtos() {
        return paramDtos;
    }

    public void setParamDtos(List<ParamDtos> paramDtos) {
        this.paramDtos = paramDtos;
    }

    // 自定义属性  判断是解除个人还是企业, 与MemberBean 字段同步
    private int checkType; // 1 个人 2 企业

    public int getCheckType() {
        return checkType;
    }

    public void setCheckType(int checkType) {
        this.checkType = checkType;
    }

    public boolean isPersonMember(){
        return checkType == 1;
    }

    public String getApplyUserNo() {
        return applyUserNo;
    }

    public void setApplyUserNo(String applyUserNo) {
        this.applyUserNo = applyUserNo;
    }

    public String getRelieveUserName() {
        return relieveUserName;
    }

    public void setRelieveUserName(String relieveUserName) {
        this.relieveUserName = relieveUserName;
    }

    public String getRelieveUserNo() {
        return relieveUserNo;
    }

    public void setRelieveUserNo(String relieveUserNo) {
        this.relieveUserNo = relieveUserNo;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getApplyCompanyName() {
        return applyCompanyName;
    }

    public void setApplyCompanyName(String applyCompanyName) {
        this.applyCompanyName = applyCompanyName;
    }

    public String getApplyCompanyNo() {
        return applyCompanyNo;
    }

    public void setApplyCompanyNo(String applyCompanyNo) {
        this.applyCompanyNo = applyCompanyNo;
    }

    public String getApproveType() {
        return approveType;
    }

    public void setApproveType(String approveType) {
        this.approveType = approveType;
    }

    public String getApplyDeptName() {
        return applyDeptName;
    }

    public void setApplyDeptName(String applyDeptName) {
        this.applyDeptName = applyDeptName;
    }

    public String getApplyDeptNo() {
        return applyDeptNo;
    }

    public void setApplyDeptNo(String applyDeptNo) {
        this.applyDeptNo = applyDeptNo;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getRelieveCompanyNo() {
        return relieveCompanyNo;
    }

    public void setRelieveCompanyNo(String relieveCompanyNo) {
        this.relieveCompanyNo = relieveCompanyNo;
    }

    public String getRelieveCompanyName() {
        return relieveCompanyName;
    }

    public void setRelieveCompanyName(String relieveCompanyName) {
        this.relieveCompanyName = relieveCompanyName;
    }

    public static class ParamDtos{
        private String content;
        private String title;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
